package com.skyc.entity;

public class Address {
private int aid;//地址id
private User u;//所属用户
private String uaddress;//地址信息
private String aname;//收货人姓名，自定义
private String adefault;//判断是否是默认地址，1位默认，0为其他地址
public int getAid() {
	return aid;
}
public void setAid(int aid) {
	this.aid = aid;
}
public User getU() {
	return u;
}
public void setU(User u) {
	this.u = u;
}
public String getUaddress() {
	return uaddress;
}
public void setUaddress(String uaddress) {
	this.uaddress = uaddress;
}
public String getAname() {
	return aname;
}
public void setAname(String aname) {
	this.aname = aname;
}

public String getAdefault() {
	return adefault;
}
public void setAdefault(String adefault) {
	this.adefault = adefault;
}

public Address(int aid, User u, String uaddress, String aname, String adefault) {
	super();
	this.aid = aid;
	this.u = u;
	this.uaddress = uaddress;
	this.aname = aname;
	this.adefault = adefault;
}
public Address() {
	super();
}

}
